<!DOCTYPE html>
<html>

<head>
    <title>{block name="title"}{/block}</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/labManageSystem/public/static/css/index.css">
    <link rel="stylesheet" type="text/css" href="/labManageSystem/public/message.css">
    <link rel="stylesheet" type="text/css" href="/labManageSystem/public/table/index.css">
</head>

<body>
    <!--导航栏-->
    <nav class="navbar navbar-inverse" role="navigation">
        <div class="container-fluid">
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li {eq name=":request()->action()" value="index"}class="active"{/eq}><a href ="{:url('index')}">首页</a></li>
                    <li {eq name=":request()->action()" value="takelessoninterface"}class="active"{/eq}><a href="{:url('takelessonInterface')}">抢课换课</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li><a><span class="glyphicon glyphicon-user"></span> 欢迎您,{$teacher->name}老师</a></li>
                    <li {eq name=":request()->action()" value="information"}class="active"{/eq}><a href="information.html">个人信息</a></li>
                    <li  {eq name=":request()->action()" value="message"}class="active"{/eq}><a href="{:url('message')}" class="nav-link"><i class="glyphicon glyphicon-bell"></i>
                        {eq name="$total_number" value="0"}
                        {else/}<div class="nav-counter nav-counter-red">{$total_number}</div>
                        {/eq}</a>
                    </li>
                    <li><a href="{:url('logout')}">注销登录</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>
    {block name="content"}

    {/block}
</body>

</html>